package com.st.shopadmin.pojo;

import java.util.Date;

public class User {
    private Long uid;

    private String weixinOpenid;

    private String nickname;

    private Boolean gender;

    private String username;

    private String password;

    private String avatar;

    private String mobile;

    private String email;

    private Date createTime;

    private Date updateTime;

    private Integer accountStatus;

    private String salt;

    public User(Long uid, String weixinOpenid, String nickname, Boolean gender, String username, String password, String avatar, String mobile, String email, Date createTime, Date updateTime, Integer accountStatus, String salt) {
        this.uid = uid;
        this.weixinOpenid = weixinOpenid;
        this.nickname = nickname;
        this.gender = gender;
        this.username = username;
        this.password = password;
        this.avatar = avatar;
        this.mobile = mobile;
        this.email = email;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.accountStatus = accountStatus;
        this.salt = salt;
    }

    public User() {
        super();
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getWeixinOpenid() {
        return weixinOpenid;
    }

    public void setWeixinOpenid(String weixinOpenid) {
        this.weixinOpenid = weixinOpenid == null ? null : weixinOpenid.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(Integer accountStatus) {
        this.accountStatus = accountStatus;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }
}